package wox.lonice.btctrade.dto;

import org.apache.commons.lang3.builder.ToStringBuilder;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>描述：用于生产-消费使用的基类</p>
 *
 * @author LoNice
 * @Date 2018/5/28 17:39
 */
public class LinkeEntityDto implements Serializable {
    //当前时间
    private Long thisDate;

    //用于邮件发送
    private String body;

    //区域
    private String area;

    //币种
    private String coin;

    //网站
    private String domain;

    //涨跌幅
    private BigDecimal percent;
    //TODO
    //后续交易使用

    public LinkeEntityDto() {
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getCoin() {
        return coin;
    }

    public void setCoin(String coin) {
        this.coin = coin;
    }

    public String getDomain() {
        return domain;
    }

    public void setDomain(String domain) {
        this.domain = domain;
    }

    public BigDecimal getPercent() {
        return percent;
    }

    public void setPercent(BigDecimal percent) {
        this.percent = percent;
    }

    public Long getThisDate() {
        return thisDate;
    }

    public void setThisDate(Long thisDate) {
        this.thisDate = thisDate;
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this);
    }
}
